using Game.Network;

namespace Game.Network.TCPPackets {
    public sealed class Login: TCPPacket {
        public Login (string username, string password): base(0x01) {
            int length = username.Length + password.Length + 4;
            EnsureCapacity (length);
            m_Stream.WriteAsciiPString (username);
            m_Stream.WriteAsciiRawString (password);
        }
    }
}